package perform.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import perform.constants.Cascade;
import perform.type.Type;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OneToOne {
	
	public String name() default "";
	
	public Class<? extends Type> target();
	
	public Cascade cascade() default Cascade.NO_ACTION;
	
	public boolean nullable() default true;

}